package org.ppassantini.cham.core.business.security.dao;

import java.util.List;

import org.ppassantini.cham.core.business.dao.GenericDao;
import org.ppassantini.cham.core.business.security.dto.MenuDto;
import org.ppassantini.cham.core.business.security.entity.Menu;

public interface MenuDao extends GenericDao<Menu,Integer>{
    List<Menu> getMenuByUsername(String username);
    int count();
    List<MenuDto> find(int from, int to);
}
